/**
 * ProjectName:  mall-service
 * FileName:  ThemeService.java
 * PackageName:  com.blx.service
 * Copyright (c) 2013, CYOU All Rights Reserved.
*/
package com.blx.service;

import com.blx.entity.Theme;
import com.blx.model.request.ThemeRequest;
import com.blx.utils.pagination.Pagination;

/**
 * ClassName: ThemeService. <br/>
 * Description:  Theme接口 <br/>
 * @author wangwl
 * 2013-3-4 下午8:51:59 <br/>
 * @version 1.0
 */
public interface ThemeService {
	/**
	 * 保存Theme实体 <br/>
	 * @param theme
	 * @author wangwl
	 * 2013-3-4 下午8:59:29
	 */
	public void saveTheme(Theme theme);

	/**
	 * 更新Theme实体<br/>
	 * @param theme
	 * @author wangwl
	 * 2013-3-4 下午8:59:52
	 */
	public void updateTheme(Theme theme);
	/**
	 * 根据id删除Theme实体 <br/>
	 * @param themeId
	 * @author wangwl
	 * 2013-3-4 下午9:00:14
	 */
	public void deleteThemeById(Integer themeId);
	/**
	 * 根据id获取Theme实体 <br/>
	 * @param themeId
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:00:32
	 */
	public Theme getTheme(Integer themeId);
	/**
	 * 分页查询Theme <br/>
	 * @param pageNumber
	 * @param pageSize
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:01:23
	 */
	public Pagination<Theme> findPageThemeAll(int pageNumber,int pageSize);
	/**
	 * 
	* @Description: 获取默认主题列表
	 */
	public void getDefaultThemeList(ThemeRequest request);
}

